﻿using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.Taxonomy;
using MMSSync.Entities;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;

namespace MMSSync.Helpers
{
    class Helper
    {
        public static void getallTreeNode(TreeNodeCollection nodes, List<TreeNodeItem> ltn)
        {
            foreach (TreeNodeItem td in nodes)
            {
                ltn.Add(td);
                if (td.Nodes.Count > 0)
                    getallTreeNode(td.Nodes, ltn);
            }
        }

       
    }
}
